﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCenter/UserMain.master" AutoEventWireup="true" CodeBehind="SysMessage.aspx.cs" Inherits="Exhibition.UserCenter.SysMessage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script  type="text/javascript">
        function ShowInfo(tt, id) {
            YXQ.Main.OpenDialog("ShowMessage.aspx?id="+id,tt,$(window).width-400,$(window)-300);
        }

    </script>

    <div class="title">系统消息</div>
    <div class="m_conbor">
        <p class="s_title"><span class="span1">内容</span><span class="span3">删除</span><span class="span2">最后更新时间</span></p>
        <div class="s_message">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <asp:Repeater ID="repList" runat="server">
                    <ItemTemplate>
                        <tr>
                    <td class="td1">
                        <p><a href="javascript:" onclick="ShowInfo('<%#Eval("MsgName") %>','<%#Eval("Id") %>')"><%#Eval("MsgName") %></a></p>
                    </td>
                    <td class="td2"><%# Convert.ToDateTime(Eval("CreateTime")).ToString("yyyy-MM-dd") %></td>
                    <td class="td3"><a href="javascript:" onclick="YXQ.Main.DelMessage('<%#Eval("Id") %>','<%=LoginUser.Id %>')">删除</a></td>
                </tr>

                    </ItemTemplate>

                </asp:Repeater>
                 
            </table>
        </div>

        <div class="page">
            <ul>
                <Jdom:AspNetPager ID="pager" runat="server" OnPageChanged="pager_PageChanged"></Jdom:AspNetPager>
 <%--               <li>共20页</li>
                <li><a href="#" title="第一页">
                    <img src="images/page_tu.gif" /></a></li>
                <li><a href="#" title="上一页">
                    <img src="images/page_tu2.gif" /></a></li>
                <li><a href="#" class="atbm">1</a></li>
                <li><a href="#" class="bm">2</a></li>
                <li><a href="#" class="bm">3</a></li>
                <li><a href="#" class="bm">4</a></li>
                <li><a href="#" class="bm">5</a></li>
                <li><a href="#" class="bm">6</a></li>
                <li><a href="#" class="bm">7</a></li>
                <li><a href="#" class="bm">8</a></li>
                <li><a href="#" class="bm">9</a></li>
                <li><a href="#" title="下一页">
                    <img src="images/page_tu3.gif" /></a></li>
                <li><a href="#" title="最后页">
                    <img src="images/page_tu5.gif" /></a></li>
                <li>到第<input name="" type="text" class="ye" />页</li>
                <li>
                    <input class="sure" name="" value="确定" type="button" /></li>--%>
            </ul>
        </div>
    </div>
     
</asp:Content>
